package gui;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

/**
 * @author: cheng
 * @date: 2023/7/10 10:44
 * @description: 图形化界面客户端
 */
public class GUIClient extends Application {
    @Override
    public void start(Stage stage) throws Exception {
        Parent parent = FXMLLoader.load(GUIClient.class.getClassLoader().getResource("app.fxml"));
        stage.setScene(new Scene(parent,1000,800));
        stage.setTitle("文件搜索工具");
        stage.show();
    }

    public static void main(String[] args) {
        //调用
        launch(args);
    }
}
